package com.mxpio.erp.common.plm.service;

import com.mxpio.erp.common.plm.entity.ProjectPauseOperation;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.security.service.BaseService;

import java.util.Map;

/**
 * 项目暂停操作
 */
public interface ProjectPauseOperationService extends BaseService<ProjectPauseOperation> {

    Result<?> saveAll(String key, String loginUsername, String businessKey, Map<String, Object> properties);

    /**
     * 项目暂停操作
     * @param
     */
    Result<?> stopProById(ProjectPauseOperation pauseOperation);

    /**
     * 根据项目编码查询正在审批的申请单
     * @param bizNo
     * @return
     */
    ProjectPauseOperation getOne(String bizNo);

    Result<?> getDetail(String bizNo);
}
